C++ Arrays and text files
Hi.Iwouldliketoknowifthereisawaytodirectlystorecontentsfromatextfiletoanobjectarray.Thisismycode:Thisisthetextfile:,InitializesanewlyallocatedarraytoincludeagivennumberofobjectsfromagivenCarray....Writesthecontentsofthearraytoafileatagivenpath.,1...。參考影片的文章的如下: